package com.amose.serviceprovider2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
//@EnableEurekaClient // eureka客户端声明，这是eureka独有的
@EnableDiscoveryClient // 通用型注册中心发现注解(比如注册到eureka，nacos等）
public class Serviceprovider2Application {
    public static void main(String[] args) {
        SpringApplication.run(Serviceprovider2Application.class,args);
    }
}
